<template>
	<view class="page padding-top-sm">
		<view class="cu-list menu sm-border">
			<view class="cu-item arrow" style="padding-right: 60rpx;" @tap="$wanlshop.to('/pages/user/money/money')">
				<view class="content">
					<image :src="$wanlshop.oss('/uploads/staticImage/images/user/icon/m4.png')" mode="widthFix"></image>
					<text>余额</text>
				</view>
				<view class="action">
					<text class="text-30 text-black">{{user.money.money1}}</text>
				</view>
			</view>
			<view class="cu-item arrow" style="padding-right: 60rpx;" @tap="$wanlshop.to('/pages/user/signin/signin')">
				<view class="content">
					<image :src="$wanlshop.oss('/uploads/staticImage/images/user/icon/m7.png')" mode="widthFix"></image>
					
					<text>我的积分</text>
				</view>
				<view class="action">
					<text class="text-30 text-black">{{user.money.money2}}</text>
				</view>
			</view>
			<view class="cu-item arrow" @tap="$wanlshop.to('/pages/user/bank/bank')">
				<view class="content">
					<text class="icon-yinxingqia iconfont text-orange margin-right-xs"></text>
					<text>银行卡</text>
				</view>
			</view>
		</view>
		<!-- <view class="cu-list menu sm-border">
			<view class="cu-item arrow">
				<view class="content">
					<text class="icon-tuandui iconfont text-blue margin-right-xs"></text>
					<text>我的团队</text>
				</view>
			</view>
		</view> -->
		<view class="cu-list menu sm-border">
			<view class="cu-item arrow" @tap="$wanlshop.to('/pages/user/coupon/list')">
				<view class="content">
					<image :src="$wanlshop.oss('/uploads/staticImage/images/user/icon/m6.png')" mode="widthFix"></image>
					<text>红包卡券</text>
				</view>
			</view>
			<view class="cu-item arrow" @tap="$wanlshop.to('/pages/user/coupon/mycard')">
				<view class="content">
					<image :src="$wanlshop.oss('/uploads/staticImage/images/user/icon/m5.png')" mode="widthFix"></image>
					<text>我的卡券</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {mapState} from 'vuex';
	export default {
		data() {
			return {
				
			}
		},
		onNavigationBarButtonTap(e) {
			this.$wanlshop.backHome()
		},
		computed: {
			...mapState(['user','common'])
		},
		methods: {
			
		}
	}
</script>

<style lang="less" scoped>
page {
	background-color: #EDEDED;
}
.cu-item {
	&::before {
		color: #333 !important;
		font-weight: bold;
		transform: scale(0.7);
	}
	.content {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		> image {
			width: 32rpx !important;
			height: 32rpx !important;
		}
	}
}
</style>
